< previous page page_546 next page >

Page 546
The figures show a different stored procedure than the one you created above, this is just so you can see different examples.
8160-0546a.gif
Figure 27.14
The SQL Editor Window with a trigger.
The Database Diagram Window
The Database Diagram window allows you to create a view of the tables in your database. You can also create a diagram of the relationships between your tables (see Figure 27.15). You can modify the tables in the Database Diagram Window as well as create separate views of your database.
For example, you can have all the tables that relate to one subsystem on one diagram, and all the other tables for a different subsystem on another diagram. The Database Diagram window is available only in the Enterprise Edition of Visual Basic.
To create a database diagram, you need to select the Database Diagrams folder in the Data View window. You can then right-click to add a new diagram. Then, its a simple matter of dragging and dropping existing tables from the Tables folder into the diagram, or you can create brand new tables right on the diagram. Database diagrams can only be created for SQL Server and Oracle databases.

 
< previous page page_546 next page >

If you like this book, buy it!